package GDoc::Job::Fetch::US::Legi::GPO::Senate;

use Moose;

extends 'GDoc::Job::Fetch::US::Legi::GPO';

# maps GDoc committee taxonomy to GPO FDSys URL param names
my %SENATE_COMMITTEE_MAP = 
  ( canf    => 'agriculture',
    ca      => 'appropriations',
    cas     => 'armedservices',
    cbhua   => 'banking',
    ccst    => 'commerce',
    cenr    => 'energy',
    cepw    => 'environment',
    cf      => 'finance',
    cfr     => 'foreignrelations',
    chelp   => 'health',
    chsga   => 'homeland',
    cia     => 'indianaffairs',
    cj      => 'judiciary',
    cra     => 'rules',
    csbe    => 'smbusiness',
    cva     => 'va'
  );
               

has '_committee_map'  => ( is         => 'ro',
                           isa        => 'HashRef',
                           init_arg   => undef,
                           default    => sub { \%SENATE_COMMITTEE_MAP }
                         );


1;
